import React from 'react'; //导入react
import ReactDOM from 'react-dom/client'; //将DOM转变为虚拟DOM DOM解析器
//获取react结构的挂载点
import { RouterProvider } from 'react-router-dom';
import router from './router';
import { Provider } from 'react-redux'
import store from './store'
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  //给react提供严格模式
  // <React.StrictMode>
  <Provider store={store}>
    <RouterProvider router={router}></RouterProvider>
  </Provider>
  // </React.StrictMode>
);

